package com.ruoyi.supplier.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 供应商评分对象 supplier_rating
 * 
 * @author ruoyi
 */
public class SupplierRating extends BaseEntity {
  private static final long serialVersionUID = 1L;

  /** 评分ID */
  private Long id;

  /** 供应商ID */
  @Excel(name = "供应商ID")
  private Long supplierId;

  /** 评分项目 */
  @Excel(name = "评分项目")
  private String ratingItem;

  /** 评分值 */
  @Excel(name = "评分值")
  private Integer ratingValue;

  /** 评分说明 */
  @Excel(name = "评分说明")
  private String ratingDesc;

  /** 评分时间 */
  @Excel(name = "评分时间")
  private String ratingTime;

  /** 评分人 */
  @Excel(name = "评分人")
  private String rater;

  public void setId(Long id) {
    this.id = id;
  }

  public Long getId() {
    return id;
  }

  public void setSupplierId(Long supplierId) {
    this.supplierId = supplierId;
  }

  public Long getSupplierId() {
    return supplierId;
  }

  public void setRatingItem(String ratingItem) {
    this.ratingItem = ratingItem;
  }

  public String getRatingItem() {
    return ratingItem;
  }

  public void setRatingValue(Integer ratingValue) {
    this.ratingValue = ratingValue;
  }

  public Integer getRatingValue() {
    return ratingValue;
  }

  public void setRatingDesc(String ratingDesc) {
    this.ratingDesc = ratingDesc;
  }

  public String getRatingDesc() {
    return ratingDesc;
  }

  public void setRatingTime(String ratingTime) {
    this.ratingTime = ratingTime;
  }

  public String getRatingTime() {
    return ratingTime;
  }

  public void setRater(String rater) {
    this.rater = rater;
  }

  public String getRater() {
    return rater;
  }

  @Override
  public String toString() {
    return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
        .append("id", getId())
        .append("supplierId", getSupplierId())
        .append("ratingItem", getRatingItem())
        .append("ratingValue", getRatingValue())
        .append("ratingDesc", getRatingDesc())
        .append("ratingTime", getRatingTime())
        .append("rater", getRater())
        .append("createBy", getCreateBy())
        .append("createTime", getCreateTime())
        .append("updateBy", getUpdateBy())
        .append("updateTime", getUpdateTime())
        .append("remark", getRemark())
        .toString();
  }
}